package com.qianli.cashmama.product.server.mapper;

import com.qianli.cashmama.product.server.entity.ProductRuleDetailEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * Created by xuyang on 2017/7/19.
 */
public interface ProductRuleDetailMapper {
    public List<ProductRuleDetailEntity> getRules(@Param("ownerType") String ownerType,
                                                  @Param("ownerCode") String ownerCode);

    public List<ProductRuleDetailEntity> getRulesByCodes(@Param("ownerType") String ownerType,
                                                         @Param("ownerCodes") Set<String> ownerCodes);
    public static void main(String[] args) {
        double d = Math.pow(2,33);
        System.out.println(Double.doubleToLongBits(d));
    }
}
